package com.wujian.love.domin;

import lombok.Data;

import java.util.Date;

/**
 * 订单表 order
 *
 * @author wujian
 * @date 2020-06-17
 */
@Data
public class OrderParent extends BaseDomin {

    private static final long serialVersionUID = 1L;

    /**
     *待支付
     */
    public static final String WAIT_ORDER_PAY = "1";

    /**
     *已支付
     */
    public static final String FINISH_ORDER_PAY = "2";

    /**
     *已取消
     */
    public static final String CANCEL_ORDER_PAY = "3";


    private Integer id;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 订单状态(1:待支付;2:已支付;3:已取消;)
     */
    private String orderStatus;

    /**
     * 订单金额(分)
     */
    private Integer orderAmount;

    /**
     * 付款金额(分)
     */
    private Integer payAmount;
    /**
     * 实收金额(分)
     */
    private Integer receiptAmount;
    /**
     * 交易流水号
     */
    private String tradeNo;
    /**
     * 支付方式(1:支付宝;2微信)
     */
    private String payType;
    /**
     * 支付时间
     */
    private Date payTime;


}
